// sqlMap.js  sql语句
const sqlMap = {
    showalluser: 'select * from user',
    addgoods: 'insert into goods set ?',
    showallgoods: 'select * from goods',
    filtergoods: 'select * from goods where leixing=?',
    deletegoods: 'delete from goods where iid = ? and leixing = ?',
    updategoods: 'update goods set ? where iid=?',
    searchgoods: 'select * from goods where title like ?'
}

module.exports = sqlMap;